package com.pand.controller.common;

import org.springframework.beans.factory.annotation.Value;

/**
 * Created by lh on 2017/11/6.
 */
public class BaseController {

    @Value("${platform.ratio}")
    protected Double ratio;

    protected long getFinalNumeral(long numeral) {
        return new Double(numeral * ratio).intValue();
    }
}
